package com.neusoft.supermarket.DAO;

import com.neusoft.supermarket.entity.UserInfo_Entity;

import java.util.List;

public interface UserInfoDAO {

    public List<UserInfo_Entity> queryAll();

    public int insert_UserInfo(UserInfo_Entity user);

    public int update_UserInfo(UserInfo_Entity user);

    public int delete_UserInfo(String userno);

    public UserInfo_Entity loginByUser(String account,String password);

    public UserInfo_Entity queryUserByName(String name);
}
